FHIR © HL7.org  |  FHIRsmith 0.18.0  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageopenehr.base
Resource TypeStructureDefinition
IdStructureDefinition-DV-TEMPORAL.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/openehr-fhir/base-spec/StructureDefinition-DV-TEMPORAL.html
URLhttp://openehr.org/fhir/StructureDefinition/DV_TEMPORAL
Version0.1.0
Statusactive
Date2025-09-06T15:35:39+10:00
NameDV_TEMPORAL
TitleDV_TEMPORAL
Realmuv
Authorityhl7
DescriptionSpecialised temporal variant of `DV_ABSOLUTE_QUANTITY` whose diff type is `DV_DURATION`.
Typehttp://openehr.org/fhir/StructureDefinition/DV_TEMPORAL
Kindlogical

Resources that use this resource

StructureDefinition
openehr.base#currentDV_DATE_TIMEDV_DATE_TIME
openehr.base#currentDV_DATEDV_DATE
openehr.base#currentDV_TIMEDV_TIME

Resources that this resource uses

StructureDefinition
openehr.base#currentDV_ABSOLUTE_QUANTITYDV_ABSOLUTE_QUANTITY
openehr.base#currentDV_DURATIONDV_DURATION

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition DV-TEMPORAL

NameFlagsCard.TypeDescription & Constraintsdoco
.. DV_TEMPORAL 0..*DV_ABSOLUTE_QUANTITYThis is an abstract type. Child types: DV_TIME, DV_DATE_TIME, DV_DATE
Specialised temporal variant of `DV_ABSOLUTE_QUANTITY` whose diff type is `DV_DURATION`.

Elements defined in Ancestors:CR, LF, Local_terminology_id, normal_status, normal_range, other_reference_ranges, magnitude_status, accuracy, accuracy
Instances of this logical model are not marked to be the target of a Reference
... accuracy 0..1DV_DURATIONTime accuracy, expressed as a duration.

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "DV-TEMPORAL",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "contained": [
    {
      "resourceType": "OperationDefinition",
      "id": "add",
      "name": "add",
      "title": "add",
      "status": "active",
      "kind": "operation",
      "description": "Addition of a Duration to this temporal entity.",
      "code": "add",
      "system": false,
      "type": false,
      "instance": true,
      "parameter": [
        {
          "name": "a_diff",
          "use": "in",
          "min": 1,
          "max": "1",
          "type": "Duration"
        },
        {
          "name": "return",
          "use": "out",
          "min": 1,
          "max": "1",
          "type": "Parameters"
        }
      ]
    },
    {
      "resourceType": "OperationDefinition",
      "id": "subtract",
      "name": "subtract",
      "title": "subtract",
      "status": "active",
      "kind": "operation",
      "description": "Subtract a Duration from this temporal entity.",
      "code": "subtract",
      "system": false,
      "type": false,
      "instance": true,
      "parameter": [
        {
          "name": "a_diff",
          "use": "in",
          "min": 1,
          "max": "1",
          "type": "Duration"
        },
        {
          "name": "return",
          "use": "out",
          "min": 1,
          "max": "1",
          "type": "Parameters"
        }
      ]
    },
    {
      "resourceType": "OperationDefinition",
      "id": "diff",
      "name": "diff",
      "title": "diff",
      "status": "active",
      "kind": "operation",
      "description": "Difference between this temporal entity and `_other_`.",
      "code": "diff",
      "system": false,
      "type": false,
      "instance": true,
      "parameter": [
        {
          "name": "other",
          "use": "in",
          "min": 1,
          "max": "1",
          "type": "Parameters"
        },
        {
          "name": "return",
          "use": "out",
          "min": 1,
          "max": "1",
          "type": "Duration"
        }
      ]
    }
  ],
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/web-source",
      "valueUrl": "https://specifications.openehr.org/releases/RM/Release-1.1.0/data_types.html#_dv_temporal_class"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
      "valueCanonical": "#add"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
      "valueCanonical": "#subtract"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
      "valueCanonical": "#diff"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "is-continuous"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint",
      "valueCode": "element-view-as-leaf"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint",
      "valueCode": "element-view-defns-parent"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint",
      "valueCode": "element-view-replace-cardinality"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 3,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "informative",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
          }
        ]
      }
    }
  ],
  "url": "http://openehr.org/fhir/StructureDefinition/DV_TEMPORAL",
  "version": "0.1.0",
  "name": "DV_TEMPORAL",
  "title": "DV_TEMPORAL",
  "status": "active",
  "experimental": false,
  "date": "2025-09-06T15:35:39+10:00",
  "publisher": "openEHR + HL7",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.openehr.org"
        }
      ]
    }
  ],
  "description": "Specialised temporal variant of `DV_ABSOLUTE_QUANTITY` whose diff type is `DV_DURATION`.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": true,
  "type": "http://openehr.org/fhir/StructureDefinition/DV_TEMPORAL",
  "baseDefinition": "http://openehr.org/fhir/StructureDefinition/DV_ABSOLUTE_QUANTITY",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.1.0"
      }
    ],
    "element": [
      {
        "id": "DV_TEMPORAL",
        "path": "DV_TEMPORAL",
        "short": "Specialised temporal variant of `DV_ABSOLUTE_QUANTITY` whose diff type is `DV_DURATION`.",
        "definition": "Specialised temporal variant of `DV_ABSOLUTE_QUANTITY` whose diff type is `DV_DURATION`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "other-reference-ranges-validity",
            "severity": "error",
            "human": "Other reference ranges validity must be present",
            "expression": "other_reference_ranges.exists() implies other_reference_ranges.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/DV_ORDERED"
          },
          {
            "key": "is-simple-validity",
            "severity": "error",
            "human": "Is simple validity must satisfy conditional constraints",
            "expression": "(normal_range .empty() and other_reference_ranges .empty()) implies is_simple()",
            "source": "http://openehr.org/fhir/StructureDefinition/DV_ORDERED"
          },
          {
            "key": "normal-range-and-status-consistency",
            "severity": "error",
            "human": "Normal range and status consistency must be present",
            "expression": "(normal_range.exists() and normal_status.exists()) implies (normal_status.code_string.is_equal ('N') xor normal_range.not().has (self))",
            "source": "http://openehr.org/fhir/StructureDefinition/DV_ORDERED"
          },
          {
            "key": "magnitude-status-valid",
            "severity": "error",
            "human": "Magnitude status valid must be present",
            "expression": "magnitude_status.exists() implies valid_magnitude_status()",
            "source": "http://openehr.org/fhir/StructureDefinition/DV_QUANTIFIED"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "DV_TEMPORAL.CR",
        "path": "DV_TEMPORAL.CR",
        "short": "Carriage return character.",
        "definition": "Carriage return character.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "BASIC_DEFINITIONS.CR",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "DV_TEMPORAL.LF",
        "path": "DV_TEMPORAL.LF",
        "short": "Line feed character.",
        "definition": "Line feed character.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "BASIC_DEFINITIONS.LF",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "DV_TEMPORAL.Local-terminology-id",
        "path": "DV_TEMPORAL.Local_terminology_id",
        "short": "Predefined terminology identifier",
        "definition": "Predefined terminology identifier to indicate it is local to the knowledge resource in which it occurs, e.g. an archetype",
        "min": 1,
        "max": "1",
        "base": {
          "path": "OPENEHR_DEFINITIONS.Local_terminology_id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "DV_TEMPORAL.normal-status",
        "path": "DV_TEMPORAL.normal_status",
        "short": "Optional normal status indicator of value with respect to normal range for this value.",
        "definition": "Optional normal status indicator of value with respect to normal range for this value. Often included by lab, even if the normal range itself is not included. Coded by ordinals in series HHH, HH, H, (nothing), L, LL, LLL; see openEHR terminology group  `normal_status`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DV_ORDERED.normal_status",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/CODE_PHRASE"
          }
        ],
        "isModifier": false
      },
      {
        "id": "DV_TEMPORAL.normal-range",
        "path": "DV_TEMPORAL.normal_range",
        "short": "Optional normal range.",
        "definition": "Optional normal range.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DV_ORDERED.normal_range",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV_INTERVAL"
          }
        ],
        "isModifier": false
      },
      {
        "id": "DV_TEMPORAL.other-reference-ranges",
        "path": "DV_TEMPORAL.other_reference_ranges",
        "short": "Optional tagged other reference ranges for this value in its particular measurement context.",
        "definition": "Optional tagged other reference ranges for this value in its particular measurement context.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DV_ORDERED.other_reference_ranges",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "extension": [
              {
                "extension": [
                  {
                    "url": "name",
                    "valueCode": "T"
                  },
                  {
                    "url": "type",
                    "valueUri": "http://openehr.org/fhir/StructureDefinition/DV-ORDERED"
                  }
                ],
                "url": "http://hl7.org/fhir/tools/StructureDefinition/type-parameter"
              }
            ],
            "code": "http://openehr.org/fhir/StructureDefinition/REFERENCE_RANGE"
          }
        ],
        "isModifier": false
      },
      {
        "id": "DV_TEMPORAL.magnitude-status",
        "path": "DV_TEMPORAL.magnitude_status",
        "short": "Optional status of magnitude with values: \n\n* `\"=\"`   :   magnitude is a point value \n* `\"<\"`   :   value is < magnitude \n* `\">\"`   :   value is > magnitude \n* `\"<=\"` : value is <= magnitude \n* `\">=\"` : value is >= magnitude \n* `\"~\"`   :   value is approximately magnitude \n\nIf not present, assumed meaning is  `\"=\"`.",
        "definition": "Optional status of magnitude with values: \n\n* `\"=\"`   :   magnitude is a point value \n* `\"<\"`   :   value is < magnitude \n* `\">\"`   :   value is > magnitude \n* `\"<=\"` : value is <= magnitude \n* `\">=\"` : value is >= magnitude \n* `\"~\"`   :   value is approximately magnitude \n\nIf not present, assumed meaning is  `\"=\"`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DV_QUANTIFIED.magnitude_status",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "DV_TEMPORAL.accuracy",
        "path": "DV_TEMPORAL.accuracy",
        "short": "Time accuracy, expressed as a duration.",
        "definition": "Time accuracy, expressed as a duration.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DV_QUANTIFIED.accuracy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV_DURATION"
          }
        ],
        "isModifier": false
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "DV_TEMPORAL",
        "path": "DV_TEMPORAL",
        "short": "Specialised temporal variant of `DV_ABSOLUTE_QUANTITY` whose diff type is `DV_DURATION`.",
        "definition": "Specialised temporal variant of `DV_ABSOLUTE_QUANTITY` whose diff type is `DV_DURATION`.",
        "min": 0,
        "max": "*",
        "isModifier": false
      },
      {
        "id": "DV_TEMPORAL.accuracy",
        "path": "DV_TEMPORAL.accuracy",
        "short": "Time accuracy, expressed as a duration.",
        "definition": "Time accuracy, expressed as a duration.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV_DURATION"
          }
        ],
        "isModifier": false
      }
    ]
  }
}